<?xml version="1.0" encoding="utf-8" ?>
<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>
<%String language = request.getParameter("lang"); %>
<fmt:setLocale value="<%=language %>" scope="page"/>
	
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<link href="styles/style1.css" type="text/css" rel="stylesheet"/>
	<title><fmt:message key="title.sectors"/></title>
</head>
<body>
	<div id="cabecera">
			<p><a href="paroSectores.jsp?lang=es"><fmt:message key="spanish"/><img src="images/Spain.png" alt="Bandera española"/></a>/<a href="paroSectores.jsp?lang=en"><fmt:message key="english"/><img src="images/england.png" alt="Bandera inglesa"/></a></p>
	</div>
	<h1><fmt:message key="title.sectors"/></h1>
	
	<div id="column2">
		<!-- <form action="ParoSectoresServlet?lang=<%=language %>" method="post" --> 
		<form action="exhibitParoSectores.jsp?lang=<%=language %>" method="post"
		enctype="application/x-www-form-urlencoded">
			<p><fmt:message key="select.sectors"/></p>
			<label for="sector"><fmt:message key="sector"/></label>
			<select name="sector">
				<option><fmt:message key="all"/></option>
				<option><fmt:message key="agriculture"/></option>
				<option><fmt:message key="industry"/></option>
				<option><fmt:message key="construction"/></option>
				<option><fmt:message key="services"/></option>
				<option><fmt:message key="previous"/></option>
			</select> <br />
			<label for="anyos"><fmt:message key="year"/></label>
			<select name="anyo">
				<option><fmt:message key="all"/></option>
				<option>2005</option>
				<option>2006</option>
				<option>2007</option>
				<option>2008</option>
				<option>2009</option>
				<option>2010</option>
				<option>2011</option>
			</select> <br />
			<label for="months"><fmt:message key="month"/></label>
			<select name="month">
				<option><fmt:message key="all"/></option>
				<option><fmt:message key="january"/></option>
				<option><fmt:message key="february"/></option>
				<option><fmt:message key="march"/></option>
				<option><fmt:message key="april"/></option>
				<option><fmt:message key="may"/></option>
				<option><fmt:message key="june"/></option>
				<option><fmt:message key="july"/></option>
				<option><fmt:message key="august"/></option>
				<option><fmt:message key="september"/></option>
				<option><fmt:message key="october"/></option>
				<option><fmt:message key="november"/></option>
				<option><fmt:message key="december"/></option>				
			</select> <br />
			<input type="submit" value="<fmt:message key="send"/>"/>
		</form>
	</div>
	
	<div id="column1">
		<ul>
			<li><a href="index.jsp?lang=<%=language %>"><fmt:message key="main"/></a></li>
			<li><a href="paroSexos.jsp?lang=<%=language %>"><fmt:message key="list.genres"/></a></li>
			<li><a href="paroEdades.jsp?lang=<%=language %>"><fmt:message key="list.ages"/></a></li>
			<li><a href="exhibitParoConcejos.jsp?lang=<%=language %>"><fmt:message key="list.councils"/></a></li>
			<!--<li><a href="predefinidas.jsp?lang=<%=language%>"><fmt:message key="consultas.title"/></a></li> -->
		</ul>
	</div>
</body>
</html>